home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 May: Tool Chest / Developer CD Series May 1996 (Tool Chest) (Apple Computer) (1996).iso / Sample Code / Snippets / QuickDraw / DeepScreen Picker / About DeepScreen Picker.txt < prev    next >
Encoding:
Text File  |  1992-07-15  |  1.0 KB  |  18 lines  |  [TEXT/MWII]

  1.  
  2. Hey!  What the Hell is this?!
  3.  
  4. sample: DeepScreen Picker
  5. Language: MPW Pascal 3.2
  6.  
  7. This sample shows how to slam and center the Color Picker dialog onto the deepest device when 32 Bit QuickDraw is not available.  (If it’s available, you can just pass the top left coordinates of
  8. (-1,-1) and the dialog will be centered on the deepest device.)
  9.  
  10. Even if 32 BQD is available, this method has the benefit of allowing you to give preference to color or grayscale monitors of the same depth.  In contrast, if there is a tie for deepest monitor, the Color Picker code takes the first one it finds.
  11.  
  12. For example, suppose you need the user to select a color.  Also suppose that two monitors are connected with the same maximum depth; a grayscale and a color one.  In this case, you’d rather have the Color Picker displayed on the color monitor so that the user can really see which color is being selected.  This code lets you specify things like that, whereas the 32 BQD Color Picker centering code does not.
  13.  
  14. - Dave “gd” Hersey
  15.   MacDTS
  16.   10/9/91
  17.  
  18.